const my = require('../lib/util.js');
const demo = require('_demo.js');
const api = require('_api.js');
//用户登录
module.exports = {
  details : function(json){
    my.request({
      url: api.goods_details,
      params: {
        gid : json.gid,
      },
      success: json.callback,
    });    
  }
}